package com.ebs.md.fxmonitor.marketmonitor.esper;

/**
 * Perforce Revision:
 *  $File: //depot/MarketData/fxmonitor/main/src/main/java/com/ebs/md/fxmonitor/marketmonitor/esper/PassiveHitsNMLSingleFactStatement.java $
 *  $Revision: #2 $  $Change: 115956 $  $DateTime: 2012/10/18 15:01:23 $  $Author: Arik.Sher $
 */

import com.ebs.md.container.esper.AbsStatement;
import com.ebs.md.fxmonitor.marketmonitor.config.IPassiveHitsNMLConfig;


public class PassiveHitsNMLSingleFactStatement
extends AbsStatement<IPassiveHitsNMLConfig>
{
	@Override
	protected String createEplExpression() {
		String str =
		String.format(eplExpressionText
			, config.getTimeFrameThreshold()      //1. alert time frame
			, config.getNumberOfHitsThreshold()   //2. number of hits 
			);
		return str;
	}
	
}
